<?php
/* @var $this CategroryController */
/* @var $model Categrory */

$this->breadcrumbs = array(
    'Categrories' => array('index'),
    $model->cat_id,
);

$this->menu = array(
    array('label' => 'List Categrory', 'url' => array('index')),
    array('label' => 'Create Categrory', 'url' => array('create')),
    array('label' => 'Update Categrory', 'url' => array('update', 'id' => $model->cat_id)),
    array('label' => 'Delete Categrory', 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->cat_id), 'confirm' => 'Are you sure you want to delete this item?')),
    array('label' => 'Manage Categrory', 'url' => array('admin')),
);
?>


<div class="speedbar">
    <div class="speedbar-content">

        <ul class="menu-drop">
            <li><a href="#"><i class="icon-chevron-down"></i></a>
                <ul>
                    <li><a href="<?php echo Yii::app()->createUrl('admin/main/login'); ?>">Quản lý chung</a></li>
                </ul>  
            </li>
        </ul>

        <ul class="menu-speedbar">
            <li><a href="<?php echo Yii::app()->createUrl('admin/categrory/admin'); ?>" class="act_link">Quản lý danh mục</a></li>
            <li><a href="<?php echo Yii::app()->createUrl('admin/categrory/create'); ?>">Tạo danh mục mới</a></li>
        </ul>
    </div>
</div>

<h1>Thư mục #<?php echo $model->cat_id; ?></h1>
<?php
$this->widget('zii.widgets.CDetailView', array(
    'data' => $model,
    'attributes' => array(
        'cat_id',
        'slug',
        'cat_name',
    ),
));
?>
